package com.iisigroup.adrclient.common;

import org.junit.runner.RunWith;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.TestExecutionListeners;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
import org.springframework.test.context.support.DependencyInjectionTestExecutionListener;
import org.springframework.test.context.transaction.TransactionConfiguration;

/**
 * JunitTest的基本設定
 * @author Ebi 
 * @since 2015/02/12
 */
@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration(locations = {"classpath*:spring-*.xml"})
@TestExecutionListeners(listeners = {DependencyInjectionTestExecutionListener.class})
@TransactionConfiguration(defaultRollback = true)
public abstract class BaseTest extends GenericObject {
}
